home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-04-29 | 775 b | 27 lines |
- #
- # Makefile for the "CopyPath" program
- # .daemon suffix will prevent Workspace from displaying the app icon or passing
- # -NXServiceLaunch YES -MachLaunch <reply id> <window number>
-
- NAME = CopyPath
- MFILES = CopyPath.m
- OFILES = CopyPath.o
- LIBS = -lNeXT_s -lsys_s
- CFLAGS = -O -arch m68k -arch i386 -arch hppa -arch sparc
- # CFLAGS = -g -Wimplicit
- # Need to put section __services in segment __ICON for spec for services
- LDFLAGS = -segcreate __ICON __header $(NAME).iconheader \
- -segcreate __ICON app defaultDaemonIcon.tiff \
- -segcreate __ICON __services $(NAME).services
-
- $(NAME): $(OFILES)
- $(CC) $(CFLAGS) -s $(LDFLAGS) -o $(NAME).daemon $(OFILES) $(LIBS)
-
- install: $(NAME)
- # strip $(FULLNAME)
- mv $(FULLNAME) /LocalApps
- rm $(OFILES)
-
- clean:
- rm -f $(NAME).daemon $(OFILES)
-